package top.infopub.job.fia.service.impl;


import java.math.BigDecimal;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.fia.dao.ProBudgetDao;
import top.infopub.job.fia.service.ProBudgetService;
import top.infopub.model.fia.ProBudget;


@Service
public class ProBudgetServiceImpl extends GenericServiceImpl<ProBudget, String> implements ProBudgetService {

    @Autowired
    private ProBudgetDao proBudgetDao;

    @Override
    public GenericDao<ProBudget, String> getDao() {
        return proBudgetDao;
    }

    @Override
    public BigDecimal sumYearFinFeeOfArea(Map<String, Object> where) {
        return proBudgetDao.sumYearFinFeeOfArea(where);
    }

    @Override
    public BigDecimal sumYearFinFeeOfSuper(Map<String, Object> where) {
        return proBudgetDao.sumYearFinFeeOfSuper(where);
    }

    @Override
    public BigDecimal sumYearCashInOfArea(Map<String, Object> where) {
        return proBudgetDao.sumYearCashInOfArea(where);
    }

    @Override
    public BigDecimal sumYearCashInOfSuper(Map<String, Object> where) {
        return proBudgetDao.sumYearCashInOfSuper(where);
    }

    @Override
    public BigDecimal sumYearCashOutOfArea(Map<String, Object> where) {
        return proBudgetDao.sumYearCashOutOfArea(where);
    }

    @Override
    public BigDecimal sumYearCashOutOfSuper(Map<String, Object> where) {
        return proBudgetDao.sumYearCashOutOfSuper(where);
    }

    @Override
    public BigDecimal sumYearInvestOfArea(Map<String, Object> where) {
        return proBudgetDao.sumYearInvestOfArea(where);
    }

    @Override
    public BigDecimal sumYearInvestOfSuper(Map<String, Object> where) {
        return proBudgetDao.sumYearInvestOfSuper(where);
    }

    @Override
    public BigDecimal sumYearProfitOfArea(Map<String, Object> where) {
        return proBudgetDao.sumYearProfitOfArea(where);
    }

    @Override
    public BigDecimal sumYearProfitOfSuper(Map<String, Object> where) {
        return proBudgetDao.sumYearProfitOfSuper(where);
    }

}